package com.qifeng.modules.userInfo.repository;

import com.qifeng.modules.userInfo.domain.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
* Created by if on 2017/11/22.
*/
@Repository
public interface UserInfoRepository extends JpaRepository<UserInfo, Long>,JpaSpecificationExecutor<UserInfo>{


    UserInfo findByOpenId(String openid);
}

